<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>
        <!DOCTYPE html>
        <html lang='zh-cn'>
        <head>
        <meta charset='utf-8'>
        <meta http-equiv='X-UA-Compatible' content='IE=edge'>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="renderer" content="webkit">
        <title>我的地盘 - 禅道</title>
    <script>window.config={"webRoot":"\/zentao\/","debug":false,"appName":"","cookieLife":30,"requestType":"PATH_INFO","requestFix":"-","moduleVar":"m","methodVar":"f","viewVar":"t","defaultView":"html","themeRoot":"\/zentao\/theme\/","currentModule":"my","currentMethod":"index","clientLang":"zh-cn","requiredFields":"","router":"\/zentao\/index.php","save":"\u4fdd\u5b58","runMode":"","timeout":30000,"pingInterval":""};
    window.lang={"submitting":"\u7a0d\u5019...","save":"\u4fdd\u5b58","expand":"\u5c55\u5f00\u5168\u90e8","timeout":"\u8fde\u63a5\u8d85\u65f6\uff0c\u8bf7\u68c0\u67e5\u7f51\u7edc\u73af\u5883\uff0c\u6216\u91cd\u8bd5\uff01"};

    </script>
    <script>config.onlybody = "no";</script><link rel='stylesheet' href='/zentao/theme/default/zh-cn.default.css?v=12.5.3' type='text/css' media='screen' />
    <script src='/zentao/js/all.js?v=12.5.3'></script>
    <style>.dropdown-menu.with-search {padding: 0; min-width: 150px; overflow: hidden; max-height: 302px;}
    .dropdown-menu > .menu-search .input-group {width:100%;}
    .dropdown-menu > .menu-search .input-group-addon {position: absolute; right: 10px; top: 0; z-index: 10; background: none; border: none; color: #666}
    .dropdown-menu > .menu-search .form-control {border: none!important; box-shadow: none!important; border-top: 1px solid #ddd!important;}
    .dropdown-list {display: block; padding: 0; max-height: 270px; overflow-y: auto;}
    .dropdown-list > li > a {display: block; padding: 3px 20px; clear: both; font-weight: normal; line-height: 1.53846154; color: #141414; white-space: nowrap;}
    .dropdown-list > li > a:hover,
    .dropdown-list > li > a:focus {color: #1a4f85;text-decoration: none;background-color: #ddd;}

    .btn-toolbar .nav-title{float:left; display:inline-block; padding: 6px 12px; margin-bottom: 0; font-size: 13px; font-weight: bolder; line-height: 18px; text-align: center; white-space: nowrap; vertical-align: middle;}
    </style><link rel='icon' href='/zentao/favicon.ico' type='image/x-icon' />
    <link rel='shortcut icon' href='/zentao/favicon.ico' type='image/x-icon' />
    <!--[if lt IE 10]>
    <script src='/zentao/js/jquery/placeholder/min.js?v=12.5.3'></script>
    <![endif]-->
</head>
<body>
<style>
    .picker-single .picker-selection-remove{z-index: 1000;}
    .picker-selection-single:after, .picker-multi.picker-focus .picker-selections:before{font-family: ZentaoIcon !important; content: '\f0d7' !important;}
</style>
<script>
    var chooseUsersToMail = '选择要发信通知的用户...';
    if($.fn.picker)
    {
        $(document).ready(function()
        {
            $(".picker-select[data-pickertype!='remote']").picker({chosenMode: true});
            $("[data-pickertype='remote']").each(function()
            {
                var pickerremote = $(this).attr('data-pickerremote');
                $(this).picker({chosenMode: true, remote: pickerremote});
            })
        });
    }
</script>
<header id='header'>
    <div id='mainHeader'>
        <div class='container'>
            <hgroup id='heading'>
                <h1 id='companyname' title='易软天创'><a href='/temp/index' >易软天创</a>
                </h1>
            </hgroup>
            <nav id='navbar'><ul class='nav nav-default'>
                <li  data-id='my'><a href='/temp/index' ><span> 我的地盘</span></a></li>
                <li  data-id='product'><a href='/temp/product-index-no' >产品</a></li>
                <li class='active' data-id='project'><a href='/temp/project-index-no' class='active'>项目</a></li>
                <li  data-id='qa'><a href='/temp/product-showErrorNone-qa' >测试</a></li>
                <li class='divider'></li><li  data-id='ci'><a href='/temp/repo-browse' >集成</a></li>
                <li  data-id='doc'><a href='/temp/doc' >文档</a></li>
                <li  data-id='report'><a href='/temp/report-productSummary' >统计</a></li>
                <li class='divider'></li><li  data-id='company'><a href='/temp/company-browse' >组织</a></li>
                <li  data-id='admin'><a href='/temp/admin' >后台</a></li>
            </ul>
            </nav>
            <div id='toolbar'>
                <div id="userMenu">
                    <div id='searchbox'><div class='input-group'><div class='input-group-btn'><a data-toggle='dropdown' class='btn btn-link'><span id='searchTypeName'>项目</span> <span class='caret'></span></a><input type='hidden' name='searchType' id='searchType' value='project'  />
                        <ul id='searchTypeMenu' class='dropdown-menu'><li ><a href='javascript:$.setSearchType("bug");' data-value='bug'>Bug</a></li><li ><a href='javascript:$.setSearchType("story");' data-value='story'>需求</a></li><li ><a href='javascript:$.setSearchType("task");' data-value='task'>任务</a></li><li ><a href='javascript:$.setSearchType("testcase");' data-value='testcase'>用例</a></li><li class='selected'><a href='javascript:$.setSearchType("project");' data-value='project'>项目</a></li><li ><a href='javascript:$.setSearchType("product");' data-value='product'>产品</a></li><li ><a href='javascript:$.setSearchType("user");' data-value='user'>用户</a></li><li ><a href='javascript:$.setSearchType("build");' data-value='build'>版本</a></li><li ><a href='javascript:$.setSearchType("release");' data-value='release'>发布</a></li><li ><a href='javascript:$.setSearchType("productplan");' data-value='productplan'>产品计划</a></li><li ><a href='javascript:$.setSearchType("testtask");' data-value='testtask'>测试单</a></li><li ><a href='javascript:$.setSearchType("doc");' data-value='doc'>文档</a></li><li ><a href='javascript:$.setSearchType("caselib");' data-value='caselib'>用例库</a></li><li ><a href='javascript:$.setSearchType("testreport");' data-value='testreport'>测试报告</a></li></ul></div><input id='searchInput' class='form-control search-input' type='search' onclick='this.value=""' onkeydown='if(event.keyCode==13) $.gotoObject();' placeholder='编号(ctrl+g)'/></div><a href='javascript:$.gotoObject();' class='btn btn-link' id='searchGo'>GO!</a></div>
                    <ul id="userNav" class="nav nav-default">
                        <li><a class='dropdown-toggle' data-toggle='dropdown'><span class='user-name'>admin</span><span class='caret'></span></a><ul class='dropdown-menu pull-right'><li class="user-profile-item"><a href='/temp/my-profile' class=' no-role'><div class='avatar avatar bg-secondary avatar-circle'>A</div>
                            <div class="user-profile-name">admin</div><div class="user-profile-role"></div></a></li><li class="divider"></li><li><a href='/temp/my-profile' >个人档案</a>
                        </li><li><a href='/temp/my-changepassword' class='iframe' data-width='500'>更改密码</a>
                        </li><li class='divider'></li><li class='dropdown-submenu'><a href='javascript:;'>主题</a><ul class='dropdown-menu pull-left'><li class='selected'><a href='javascript:selectTheme("default");' data-value='default'>禅道蓝（默认）</a></li><li ><a href='javascript:selectTheme("green");' data-value='green'>叶兰绿</a></li><li ><a href='javascript:selectTheme("red");' data-value='red'>赤诚红</a></li><li ><a href='javascript:selectTheme("purple");' data-value='purple'>玉烟紫</a></li><li ><a href='javascript:selectTheme("pink");' data-value='pink'>芙蕖粉</a></li><li ><a href='javascript:selectTheme("blackberry");' data-value='blackberry'>露莓黑</a></li><li ><a href='javascript:selectTheme("classic");' data-value='classic'>经典蓝</a></li></ul></li><li class='dropdown-submenu'><a href='javascript:;'>Language</a><ul class='dropdown-menu pull-left'><li class='selected'><a href='javascript:selectLang("zh-cn");'>简体</a></li><li ><a href='javascript:selectLang("zh-tw");'>繁體</a></li><li ><a href='javascript:selectLang("en");'>English</a></li><li ><a href='javascript:selectLang("de");'>Deutsch</a></li><li ><a href='javascript:selectLang("fr");'>Français</a></li><li ><a href='javascript:selectLang("vi");'>Tiếng Việt</a></li><li ><a href='javascript:selectLang("ja");'>日本語</a></li></ul></li><li class='custom-item'><a href='custom-ajaxMenu-project-index.html?onlybody=yes' data-toggle='modal' data-type='iframe' data-icon='cog' data-width='80%'>自定义导航</a></li><li class="divider"></li><li class='dropdown-submenu'><a data-toggle='dropdown'>帮助</a><ul class='dropdown-menu pull-left'><li><a href='tutorial-start.html' class='iframe' data-class-name='modal-inverse' data-width='800' data-headerless='true' data-backdrop='true' data-keyboard='true'>新手教程</a>
                        </li><li><a href='https://www.zentao.net/book/zentaopmshelp.html?fullScreen=zentao' class='open-help-tab' target='_blank' rel='noopener noreferrer'>手册</a>
                        </li><li><a href='/temp/misc-changeLog' class='iframe' data-width='800' data-headerless='true' data-backdrop='true' data-keyboard='true'>修改日志</a>
                        </li></ul></li>
                            <li><a href='/temp/misc-about' class='about iframe' data-width='1050' data-headerless='true' data-backdrop='true' data-keyboard='true' data-class='modal-about'>关于禅道</a>
                            </li><li class="divider"></li><li><a href='/temp/user-logout' >退出</a>
                            </li></ul></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div id='subHeader'>
        <div class='container'>
            <div id="pageNav" class='btn-toolbar'></div>
            <nav id='subNavbar'><ul class='nav nav-default'>
                <li class=' active' data-id='index'><a href='/zentao/my/' >首页</a>
                </li>
                <li class=' ' data-id='calendar'><a href='/zentao/my-calendar.html' >日程</a>
                </li>
                <li class='divider'></li><li class=' ' data-id='task'><a href='/zentao/my-task.html' >任务</a>
            </li>
                <li class=' ' data-id='bug'><a href='/zentao/my-bug.html' >Bug</a>
                </li>
                <li class=' ' data-id='testtask'><a href='/zentao/my-testtask.html' >测试</a>
                </li>
                <li class=' ' data-id='story'><a href='/zentao/my-story.html' >需求</a>
                </li>
                <li class='divider'></li><li class=' ' data-id='myProject'><a href='/zentao/my-project.html' >项目</a>
            </li>
                <li class=' ' data-id='dynamic'><a href='/zentao/my-dynamic.html' >动态</a>
                </li>
                <li class='divider'></li><li class=' ' data-id='profile'><a href='/zentao/my-profile.html' >档案</a>
            </li>
                <li class=' ' data-id='changePassword'><a href='/zentao/my-changepassword.html' >密码</a>
                </li>
                <li class=' ' data-id='manageContacts'><a href='/zentao/my-managecontacts.html' >联系人</a>
                </li>
            </ul>
            </nav>
            <div id="pageActions"><div class='btn-toolbar'></div></div>
        </div>
    </div>
</header>

<main id='main'  >
    <div class='container'>
        <style>body {padding-bottom: 20px;}
        .nav > li > .btn {padding: 0 5px; line-height: 24px; margin: 3px; color: #3C4353;}
        .nav > li > .btn.btn-primary {color: #fff;}
        .nav .icon-more {font-size: 14px;}
        .block-statistic .nav-stacked {overflow: auto; max-height: 220px;}
        #dashboard .col-side {width: 450px; max-width: 450px;}
        #dashboard .panel-body {max-height: 400px; overflow: auto;}
        #dashboard .panel-body.has-table {padding-top: 0;}
        #dashboard .panel-move-handler {position: absolute; top: 0; left: 0; right: 50px; height: 40px; z-index: 10; cursor: move;}
        #dashboard .panel-heading {cursor: move; padding-right: 75px;}
        @media (min-width: 992px)
        {
            #dashboard > .row {display: table; width: 100%; margin: 0;}
            #dashboard > .row > .col-main,
            #dashboard > .row > .col-side {display: table-cell; float: none; padding: 0; vertical-align: top;}
            #dashboard > .row > .col-main {padding-right: 10px }
            #dashboard > .row > .col-side {padding-left: 10px }
        }
        #dashboard.sortable-sorting .panel {margin-bottom: 10px; box-shadow: 0 1px 1px rgba(0,0,0,.075), 0 2px 6px 0 rgba(0,0,0,.075); height: 46px;}
        #dashboard.sortable-sorting .panel > * {display: none;}
        #dashboard.sortable-sorting .panel:before {display: block; content: attr(data-name); padding: 12px 20px; font-weight: bold; font-size: 14px; color: #3c4353; opacity: 1!important; text-align: left; visibility: visible;}
        #dashboard.sortable-sorting .panel.dragging {visibility: visible; background: transparent; background: rgba(0,0,0,.075); box-shadow: inset 0 2px 6px rgba(0,0,0,.075);}
        #dashboard.sortable-sorting .panel.dragging:before {color: #bbb;}
        #dashboard.sortable-sorting .panel.drag-shadow {box-shadow: 0 1px 3px rgba(0,0,0,.175), 0 3px 8px 0 rgba(0,0,0,.175)}

        #dashboard .block-sm .hide-in-sm {display: none;}
        #dashboard .block-dynamic .panel-body{overflow-x:hidden;}
        .modal-body{padding: 10px 20px 20px 20px;}
        </style><script src='/zentao/js/jquery/tablesorter/min.js?v=12.5.3'></script>
        <script src='/zentao/js/jquery/tablesorter/metadata.js?v=12.5.3'></script>
        <style>
            .tablesorter-header-inner {cursor: pointer;}
            .tablesorter-header-inner:hover {color: #000;font-weight:bold;}
            table.tablesorter tr.tablesorter-headerRow .header.tablesorter-headerUnSorted .tablesorter-header-inner:after {font-family: ZentaoIcon; font-weight: normal; content: "\f0dc"; font-size: 14px; color: #838a9c}
            table.tablesorter tr.tablesorter-headerRow .header.headerSortUp .tablesorter-header-inner{color: #000;font-weight:bold;}
            table.tablesorter tr.tablesorter-headerRow .header.headerSortUp .tablesorter-header-inner:after{font-family: ZentaoIcon; font-weight: normal; content: "\f0d8"; color: #000;}
            table.tablesorter tr.tablesorter-headerRow .header.headerSortDown .tablesorter-header-inner{color: #000;font-weight:bold;}
            table.tablesorter tr.tablesorter-headerRow .header.headerSortDown .tablesorter-header-inner:after{font-family: ZentaoIcon; font-weight: normal; content: "\f0d7"; color: #000;}
            table.tablesorter tr.tablesorter-headerRow .header.sorter-false .tablesorter-header-inner:after{content:"";}
            table.tablesorter.table-borderless > thead > tr > th {border-bottom: 1px solid #e5e5e5;}
        </style>
        <script>
            function sortTable(selector, options)
            {
                var $table = $(selector);
                $table.tablesorter($.extend(
                    {
                        saveSort: true,
                        widgets: ['zebra', 'saveSort'],
                        widgetZebra: {css: ['odd', 'even'] }
                    }, $table.data(), options)).on('mouseenter', 'tbody tr', function()
                {
                    $(this).addClass('hoover');
                }).on('mouseleave', 'tbody tr', function()
                {
                    $(this).removeClass('hoover');
                }).on('click', 'tbody tr', function()
                {
                    $(this).toggleClass('clicked');
                });
            }
            $.fn.sortTable = function(options)
            {
                return this.each(function()
                {
                    sortTable(this, options);
                });
            };
            /* sort table after page load. */
            $(function(){$('.tablesorter').sortTable();});
        </script>
        <div class='dashboard auto-fade-in fade' id='dashboard' data-confirm-remove-block='确定隐藏区块吗？'>
            <div class="row">
                <div class='col-main'>
                    <div class='panel block-welcome ' id='block1' data-id='1' data-name='欢迎' data-order='1' data-url='/zentao/block-printBlock-1-my.html'>
                        <nav class='panel-actions nav nav-default'>
                            <li class='dropdown'>
                                <a href='javascript:;' data-toggle='dropdown' class='panel-action'><i class='icon icon-ellipsis-v'></i></a>
                                <ul class='dropdown-menu pull-right'>
                                    <li><a href='javascript:;' class='refresh-panel'><i class='icon-repeat'></i> 刷新</a></li>
                                    <li><a data-toggle='modal' href="/zentao/block-admin-1-my.html" class='edit-block' data-title='欢迎' >编辑</a></li>
                                    <li><a href='javascript:deleteBlock(1);' class='hidden-panel'>隐藏</a></li>
                                    <li>                <a href='/zentao/block-close-1.html' class='close-block' onclick="return confirm('确定永久关闭该区块吗？关闭后所有人都将无法使用该区块，可以在后台自定义中打开。')" target='hiddenwin'>永久关闭</a>
                                    </li>
                                    <li class="divider"></li>
                                    <li><a href='/zentao/block-admin-0-my.html' data-toggle='modal' data-type='ajax' data-width='700' data-title='添加区块'>添加区块</a>
                                    </li>
                                    <li><a href='/zentao/block-ajaxReset-my.html'  target='hiddenwin'>恢复默认</a>
                                    </li>
                                </ul>
                            </li>
                        </nav>
                        <style>
                            .block-welcome .col-left {width: 25%;}
                            .block-welcome .col-left > h4 {margin: 5px 0;line-height: 30px;}
                            .block-welcome .col-left .timeline {margin: 10px 0 0;font-size: 12px;}
                            .block-welcome .col-right > h4 {font-weight: normal;}
                            .block-welcome .col-right > h4 small {display: inline-block;margin-right: 8px;font-size: 14px;}
                            .block-welcome .col-right .tiles {padding: 10px 0 0 16px;border-left: 1px solid #e5e8ec;}
                            .block-welcome .col-right .tile {width: 20%;}
                            .block-welcome .panel-body {padding-top: 15px;}
                            .block-welcome .user-notification-icon {position: relative;display: inline-block;margin-left: 5px;}
                            .block-welcome .user-notification-icon .label-badge {position: absolute;top: 1px;right: -8px;min-width: 16px;padding: 2px;font-size: 12px;font-weight: normal;}
                            .block-welcome.block-sm .col-right {padding: 0;}
                            .block-welcome.block-sm .col-right .tiles {border-left: none; padding-left: 0}
                            .block-welcome.block-sm .tile-title {font-size: 12px; margin: 0 -10px;}
                        </style>
                        <div class='panel-move-handler'></div>
                        <div class="panel-body conatiner-fluid">
                            <div class="table-row">
                                <div class="col col-left hide-in-sm">
                                    <h4>admin，早上好！</h4>
                                    <ul class="timeline timeline-sm">
                                        <li ><a href='/zentao/tutorial-index--createAccount.html' >1. 创建帐号</a>
                                        </li><li ><a href='/zentao/tutorial-index--createProduct.html' >2. 创建产品</a>
                                    </li><li ><a href='/zentao/tutorial-index--createStory.html' >3. 创建需求</a>
                                    </li>      </ul>
                                </div>
                                <div class="col col-right">
                                    <h4><small class="text-muted">2021年06月15日</small> 今天剩余工作总计</h4>
                                    <div class="row tiles">
                                        <div class="col tile">
                                            <div class="tile-title">我的任务</div>
                                            <div class="tile-amount">0</div>
                                        </div>
                                        <div class="col tile">
                                            <div class="tile-title">我的BUG</div>
                                            <div class="tile-amount">0</div>
                                        </div>
                                        <div class="col tile">
                                            <div class="tile-title">我的需求</div>
                                            <div class="tile-amount">0</div>
                                        </div>
                                        <div class="col tile">
                                            <div class="tile-title">未关闭的项目</div>
                                            <div class="tile-amount">0</div>
                                        </div>
                                        <div class="col tile">
                                            <div class="tile-title">未关闭的产品</div>
                                            <div class="tile-amount">0</div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class='panel block-flowchart ' id='block3' data-id='3' data-name='流程图' data-order='3' data-url='/zentao/block-printBlock-3-my.html'>
                        <div class='panel-heading'>
                            <div class='panel-title'>流程图</div>
                            <nav class='panel-actions nav nav-default'>
                                <li class='dropdown'>
                                    <a href='javascript:;' data-toggle='dropdown' class='panel-action'><i class='icon icon-ellipsis-v'></i></a>
                                    <ul class='dropdown-menu pull-right'>
                                        <li><a href='javascript:;' class='refresh-panel'><i class='icon-repeat'></i> 刷新</a></li>
                                        <li><a data-toggle='modal' href="/zentao/block-admin-3-my.html" class='edit-block' data-title='流程图' >编辑</a></li>
                                        <li><a href='javascript:deleteBlock(3);' class='hidden-panel'>隐藏</a></li>
                                        <li>                <a href='/zentao/block-close-3.html' class='close-block' onclick="return confirm('确定永久关闭该区块吗？关闭后所有人都将无法使用该区块，可以在后台自定义中打开。')" target='hiddenwin'>永久关闭</a>
                                        </li>
                                        <li class="divider"></li>
                                        <li><a href='/zentao/block-admin-0-my.html' data-toggle='modal' data-type='ajax' data-width='700' data-title='添加区块'>添加区块</a>
                                        </li>
                                        <li><a href='/zentao/block-ajaxReset-my.html'  target='hiddenwin'>恢复默认</a>
                                        </li>
                                    </ul>
                                </li>
                            </nav>
                        </div>
                        <div class='panel-body scrollbar-hover'>
                            <div class='row row-admin'>
                                <div class='flow-item flow-item-0'><div title='管理员'>管理员</div></div>
                                <div class='flow-item flow-item-1'><div title='维护公司'>维护公司</div></div>
                                <div class='flow-item flow-item-2'><div title='添加用户'>添加用户</div></div>
                                <div class='flow-item flow-item-3'><div title='维护权限'>维护权限</div></div>
                            </div>
                            <div class='row row-product'>
                                <div class='flow-item flow-item-0'><div title='产品经理'>产品经理</div></div>
                                <div class='flow-item flow-item-1'><div title='创建产品'>创建产品</div></div>
                                <div class='flow-item flow-item-2'><div title='维护模块'>维护模块</div></div>
                                <div class='flow-item flow-item-3'><div title='维护计划'>维护计划</div></div>
                                <div class='flow-item flow-item-4'><div title='维护需求'>维护需求</div></div>
                                <div class='flow-item flow-item-5'><div title='创建发布'>创建发布</div></div>
                            </div>
                            <div class='row row-project'>
                                <div class='flow-item flow-item-0'><div title='项目经理'>项目经理</div></div>
                                <div class='flow-item flow-item-1'><div title='创建项目'>创建项目</div></div>
                                <div class='flow-item flow-item-2'><div title='维护团队'>维护团队</div></div>
                                <div class='flow-item flow-item-3'><div title='关联产品'>关联产品</div></div>
                                <div class='flow-item flow-item-4'><div title='关联需求'>关联需求</div></div>
                                <div class='flow-item flow-item-5'><div title='分解任务'>分解任务</div></div>
                            </div>
                            <div class='row row-dev'>
                                <div class='flow-item flow-item-0'><div title='研发人员'>研发人员</div></div>
                                <div class='flow-item flow-item-1'><div title='领取任务和Bug'>领取任务和Bug</div></div>
                                <div class='flow-item flow-item-2'><div title='更新状态'>更新状态</div></div>
                                <div class='flow-item flow-item-3'><div title='完成任务和Bug'>完成任务和Bug</div></div>
                            </div>
                            <div class='row row-tester'>
                                <div class='flow-item flow-item-0'><div title='测试人员'>测试人员</div></div>
                                <div class='flow-item flow-item-1'><div title='撰写用例'>撰写用例</div></div>
                                <div class='flow-item flow-item-2'><div title='执行用例'>执行用例</div></div>
                                <div class='flow-item flow-item-3'><div title='提交Bug'>提交Bug</div></div>
                                <div class='flow-item flow-item-4'><div title='验证Bug'>验证Bug</div></div>
                                <div class='flow-item flow-item-5'><div title='关闭Bug'>关闭Bug</div></div>
                            </div>
                        </div>
                        <style>
                            .block-flowchart .panel-body {padding: 0 30px 0 20px;}
                            .flow-item {float: left; width: 16.66667%; max-width: 180px; text-align: center; margin-bottom: 9px; padding-right: 15px;}
                            .flow-item > div {position: relative; padding: 5px 0 5px 8px; line-height: 20px; background: #E8EBEF; white-space:nowrap; overflow: visible; color: #3c4353}
                            .flow-item > div:before, .flow-item > div:after {content: ' '; display: block; width: 0; height: 0; border-style: solid; border-width: 15px 0 15px 10px; border-color: transparent transparent transparent #E8EBEF; position: absolute; left: 0; top: 0;}
                            .ie-8 .flow-item > div:before {display: none}
                            .flow-item > div:before {border-left-color: #fff; z-index: 1}
                            .flow-item > div:after {left: auto; right: -10px; z-index: 2}
                            .ie-8 .flow-item > div {margin-right: 10px}
                            .flow-item-0 > div {color: #838A9D; font-weight: bold; padding-left: 0;}
                            .flow-item-0 > div:before {display: none}
                            .flow-item-1 > div {background: #E3F2FD}
                            .flow-item-1 > div:after {border-left-color: #E3F2FD}
                            .flow-item-2 > div {background: #E8F5E9}
                            .flow-item-2 > div:after {border-left-color: #E8F5E9}
                            .flow-item-3 > div {background: #FFF3E0}
                            .flow-item-3 > div:after {border-left-color: #FFF3E0}
                            .flow-item-4 > div {background: #FFEBEE}
                            .flow-item-4 > div:after {border-left-color: #FFEBEE}
                            .flow-item-5 > div {background: #F3E5F5}
                            .flow-item-5 > div:after {border-left-color: #F3E5F5}
                            .flow-item-1 > div:hover {background: #1565C0; color: #fff;}
                            .flow-item-1 > div:hover:after {border-left-color: #1565C0}
                            .flow-item-2 > div:hover {background: #43A047; color: #fff;}
                            .flow-item-2 > div:hover:after {border-left-color: #43A047}
                            .flow-item-3 > div:hover {background: #EF6C00; color: #fff;}
                            .flow-item-3 > div:hover:after {border-left-color: #EF6C00}
                            .flow-item-4 > div:hover {background: #E53935; color: #fff;}
                            .flow-item-4 > div:hover:after {border-left-color: #E53935}
                            .flow-item-5 > div:hover {background: #9C27B0; color: #fff;}
                            .flow-item-5 > div:hover:after {border-left-color: #9C27B0}

                            .block-sm .flow-item {padding-right: 5px}
                            .block-sm .flow-item > div:before, .block-sm .flow-item > div:after {border-width: 15px 0 15px 6px;}
                            .block-sm .row-3 .flow-item-1, .block-sm .row-3 .flow-item-3 {width: 25%}
                            .block-sm .flow-item > div:after {right: -6px;}
                        </style>
                    </div>
                    <div class='panel block-statistic ' id='block5' data-id='5' data-name='项目统计' data-order='5' data-url='/zentao/block-printBlock-5-my.html'>
                        <div class='panel-heading'>
                            <div class='panel-title'>项目统计</div>
                            <nav class='panel-actions nav nav-default'>
                                <li class='dropdown'>
                                    <a href='javascript:;' data-toggle='dropdown' class='panel-action'><i class='icon icon-ellipsis-v'></i></a>
                                    <ul class='dropdown-menu pull-right'>
                                        <li><a href='javascript:;' class='refresh-panel'><i class='icon-repeat'></i> 刷新</a></li>
                                        <li><a data-toggle='modal' href="/zentao/block-admin-5-my.html" class='edit-block' data-title='项目统计' >编辑</a></li>
                                        <li><a href='javascript:deleteBlock(5);' class='hidden-panel'>隐藏</a></li>
                                        <li>                <a href='/zentao/block-close-5.html' class='close-block' onclick="return confirm('确定永久关闭该区块吗？关闭后所有人都将无法使用该区块，可以在后台自定义中打开。')" target='hiddenwin'>永久关闭</a>
                                        </li>
                                        <li class="divider"></li>
                                        <li><a href='/zentao/block-admin-0-my.html' data-toggle='modal' data-type='ajax' data-width='700' data-title='添加区块'>添加区块</a>
                                        </li>
                                        <li><a href='/zentao/block-ajaxReset-my.html'  target='hiddenwin'>恢复默认</a>
                                        </li>
                                    </ul>
                                </li>
                            </nav>
                        </div>
                        <style>
                            .types-line {display: table; padding: 0; margin: 0 auto;}
                            .types-line > li {display: table-cell;}
                            .types-line > li > div {position: relative; padding: 18px 5px 5px; text-align: center;}
                            .types-line > li > div:before {content: ''; display: block; background: #eee;  width: 100%; height: 2px; position: absolute; left: 50%; top: 4px;}
                            .types-line > li:last-child > div:before {display: none;}
                            .types-line > li > div:after {content: ''; display: block; background: #FFFFFF; box-shadow: 0 2px 4px 0 rgba(170,170,170,0.50), 0 0 5px 0 rgba(0,0,0,0.1); width: 10px; height: 10px; position: absolute; border-radius: 50%; top: 0; left: 50%; margin-left: -2px;}
                            .types-line > li > div > small {display: block; color: #A6AAB8;}
                            .types-line > li > div > span {display: block; color: #CBD0DB; font-size: 16px;}
                            .product-info {position: relative; height: 65px;}
                            .product-info + .product-info {margin-top: 10px;}
                            .product-info .progress {position: absolute; left: 10px; top: 35px; right: 100px;}
                            .product-info .progress-info {position: absolute; left: 8px; top: 10px; width: 180px; font-size: 12px;}
                            .product-info .type-info {color: #A6AAB8; text-align: center; position: absolute; right: 0; top: 6px; width: 100px;}
                            html[lang="en"] .product-info .type-info {color: #A6AAB8; text-align: center; position: absolute; right: 0; top: 6px; width: 110px;}
                            .product-info .type-value,
                            .product-info .type-label {font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
                            .product-info .type-value {font-size: 14px;}
                            .product-info .type-value > strong {font-size: 20px; color: #3C4353;}
                            .product-info .actions {position: absolute; left: 10px; top: 14px;}
                            .block-statistic .panel-body {padding-top: 0}
                            .block-statistic .tile {margin-bottom: 30px;}
                            .block-statistic .tile-title {font-size: 18px; color: #A6AAB8;}
                            .block-statistic .tile-amount {font-size: 48px; margin-bottom: 10px;}
                            .block-statistic .col-nav {border-right: 1px solid #EBF2FB; width: 260px; padding: 0;}
                            .block-statistic .nav-secondary > li {position: relative}
                            .block-statistic .nav-secondary > li > a {font-size: 14px; color: #838A9D; position: relative; box-shadow: none; padding-left: 20px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; transition: all .2s;}
                            .block-statistic .nav-secondary > li > a:first-child {padding-right: 36px;}
                            .block-statistic .nav-secondary > li.active > a:first-child {color: #3C4353; background: transparent; box-shadow: none;}
                            .block-statistic .nav-secondary > li.active > a:first-child:hover,
                            .block-statistic .nav-secondary > li.active > a:first-child:focus,
                            .block-statistic .nav-secondary > li > a:first-child:hover {box-shadow: none; border-radius: 4px 0 0 4px;}
                            .block-statistic .nav-secondary > li.active > a:first-child:before {content: ' '; display: block; left: -1px; top: 10px; bottom: 10px; width: 4px; background: #006af1; position: absolute;}
                            .block-statistic .nav-secondary > li > a.btn-view {position: absolute; top: 0; right: 0; bottom: 0; padding: 8px; width: 36px; text-align: center; opacity: 0;}
                            .block-statistic .nav-secondary > li:hover > a.btn-view {opacity: 1}
                            .block-statistic .nav-secondary > li.active > a.btn-view {box-shadow: none}
                            .block-statistic .nav-secondary > li.switch-icon {display: none;}
                            .block-statistic.block-sm .panel-body {padding-bottom: 10px; position: relative; padding-top: 45px; border-radius: 3px;}
                            .block-statistic.block-sm .panel-body > .table-row,
                            .block-statistic.block-sm .panel-body > .table-row > .col {display: block; width: auto;}
                            .block-statistic.block-sm .panel-body > .table-row > .tab-content {padding: 0; margin: 0 -5px;}
                            .block-statistic.block-sm .tab-pane > .table-row > .col-5 {width: 125px;}
                            .block-statistic.block-sm .tab-pane > .table-row > .col-5 > .table-row {padding: 5px 0;}
                            .block-statistic.block-sm .col-nav {border-left: none; position: absolute; top: 0; left: 15px; right: 15px; background: #f5f5f5;}
                            .block-statistic.block-sm .nav-secondary {display: table; width: 100%; padding: 0; table-layout: fixed;}
                            .block-statistic.block-sm .nav-secondary > li {display: none}
                            .block-statistic.block-sm .nav-secondary > li.switch-icon,
                            .block-statistic.block-sm .nav-secondary > li.active {display: table-cell; width: 100%; text-align: center;}
                            .block-statistic.block-sm .nav-secondary > li.active > a:hover {cursor: default; background: none;}
                            .block-statistic.block-sm .nav-secondary > li.switch-icon > a:hover {background: rgba(0,0,0,0.07);}
                            .block-statistic.block-sm .nav-secondary > li > a {padding: 5px 10px; border-radius: 4px;}
                            .block-statistic.block-sm .nav-secondary > li > a:before {display: none;}
                            .block-statistic.block-sm .nav-secondary > li.switch-icon {width: 40px;}
                            .block-statistic.block-sm .nav-secondary > li.active > a:first-child:before {display: none}
                            .block-statistic.block-sm .nav-secondary > li.active > a.btn-view {width: auto; left: 0; right: 0;}
                            .block-statistic.block-sm .nav-secondary > li.active > a.btn-view > i {display: none;}
                            .block-statistic.block-sm .nav-secondary > li.active > a.btn-view:hover {cursor: pointer; background: rgba(0,0,0,.1)}

                            .status-count{margin:auto}
                            .status-count tr:first-child td:last-child{color:#000;font-weight:bold}
                        </style>
                        <script>
                            $(function()
                            {
                                var $nav = $('#nav-60c80775a90c5');
                                $nav.on('click', '.switch-icon', function(e)
                                {
                                    var isPrev = $(this).is('.prev');
                                    var $activeItem = $nav.children('.active');
                                    var $next = $activeItem[isPrev ? 'prev' : 'next']('li:not(.switch-icon)');
                                    if ($next.length) $next.find('a').trigger('click');
                                    else $nav.children('li:not(.switch-icon)')[isPrev ? 'last' : 'first']().find('a').trigger('click');
                                    e.preventDefault();
                                });

                                var $projectLi = $('#activeProject');
                                if($projectLi.length)
                                {
                                    var projectLi  = $projectLi[0];
                                    $(".col ul.nav").animate({scrollTop: projectLi.offsetTop}, "slow");
                                }
                            });
                        </script>
                        <div class="panel-body">
                            <div class="table-row">
                                <div class="table-empty-tip">
                                    <p><span class="text-muted">当前统计类型下暂无数据。</span></p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class='panel block-statistic ' id='block7' data-id='7' data-name='产品统计' data-order='7' data-url='/zentao/block-printBlock-7-my.html'>
                        <div class='panel-heading'>
                            <div class='panel-title'>产品统计</div>
                            <nav class='panel-actions nav nav-default'>
                                <li class='dropdown'>
                                    <a href='javascript:;' data-toggle='dropdown' class='panel-action'><i class='icon icon-ellipsis-v'></i></a>
                                    <ul class='dropdown-menu pull-right'>
                                        <li><a href='javascript:;' class='refresh-panel'><i class='icon-repeat'></i> 刷新</a></li>
                                        <li><a data-toggle='modal' href="/zentao/block-admin-7-my.html" class='edit-block' data-title='产品统计' >编辑</a></li>
                                        <li><a href='javascript:deleteBlock(7);' class='hidden-panel'>隐藏</a></li>
                                        <li>                <a href='/zentao/block-close-7.html' class='close-block' onclick="return confirm('确定永久关闭该区块吗？关闭后所有人都将无法使用该区块，可以在后台自定义中打开。')" target='hiddenwin'>永久关闭</a>
                                        </li>
                                        <li class="divider"></li>
                                        <li><a href='/zentao/block-admin-0-my.html' data-toggle='modal' data-type='ajax' data-width='700' data-title='添加区块'>添加区块</a>
                                        </li>
                                        <li><a href='/zentao/block-ajaxReset-my.html'  target='hiddenwin'>恢复默认</a>
                                        </li>
                                    </ul>
                                </li>
                            </nav>
                        </div>
                        <style>
                            .types-line {display: table; padding: 0; margin: 0 auto;}
                            .types-line > li {display: table-cell;}
                            .types-line > li > div {position: relative; padding: 18px 5px 5px; text-align: center;}
                            .types-line > li > div:before {content: ''; display: block; background: #eee;  width: 100%; height: 2px; position: absolute; left: 50%; top: 4px;}
                            .types-line > li:last-child > div:before {display: none;}
                            .types-line > li > div:after {content: ''; display: block; background: #FFFFFF; box-shadow: 0 2px 4px 0 rgba(170,170,170,0.50), 0 0 5px 0 rgba(0,0,0,0.1); width: 10px; height: 10px; position: absolute; border-radius: 50%; top: 0; left: 50%; margin-left: -2px;}
                            .types-line > li > div > small {display: block; color: #A6AAB8;}
                            .types-line > li > div > span {display: block; color: #CBD0DB; font-size: 16px;}
                            .product-info {position: relative; height: 65px;}
                            .product-info + .product-info {margin-top: 10px;}
                            .product-info .progress {position: absolute; left: 10px; top: 35px; right: 90px;}
                            .product-info .progress-info {position: absolute; left: 8px; top: 10px; width: 180px; font-size: 12px;}
                            .product-info .type-info {color: #A6AAB8; text-align: center; position: absolute; right: 0; top: 6px; width: 100px;}
                            html[lang="en"] .product-info .type-info {color: #A6AAB8; text-align: center; position: absolute; right: 0; top: 6px; width: 90px;}
                            .product-info .type-value,
                            .product-info .type-label {font-size: 12px; overflow: visible; text-overflow: ellipsis; white-space: nowrap;}
                            .product-info .type-value {font-size: 14px;}
                            .product-info .type-value > strong {font-size: 20px; color: #3C4353;}
                            .product-info .actions {position: absolute; left: 10px; top: 14px;}
                            .block-statistic .panel-body {padding-top: 0}
                            .block-statistic .panel-body {padding-top: 0}
                            .block-statistic .tile {margin-bottom: 30px;}
                            .block-statistic .tile-title {font-size: 18px; color: #A6AAB8;}
                            .block-statistic .tile-amount {font-size: 48px; margin-bottom: 10px;}
                            .block-statistic .col-nav {border-right: 1px solid #EBF2FB; width: 260px; padding: 0;}
                            .block-statistic .nav-secondary > li {position: relative}
                            .block-statistic .nav-secondary > li:hover {background: #f5f5f5;}
                            .block-statistic .nav-secondary > li > a {font-size: 14px; color: #838A9D; position: relative; box-shadow: none; padding-left: 20px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; transition: all .2s;}
                            .block-statistic .nav-secondary > li > a:first-child {padding-right: 36px;}
                            .block-statistic .nav-secondary > li.active > a:first-child {color: #3C4353; background: transparent; box-shadow: none;}
                            .block-statistic .nav-secondary > li.active > a:first-child:hover,
                            .block-statistic .nav-secondary > li.active > a:first-child:focus,
                            .block-statistic .nav-secondary > li > a:first-child:hover {box-shadow: none; border-radius: 4px 0 0 4px;}
                            .block-statistic .nav-secondary > li.active > a:first-child:before {content: ' '; display: block; left: -1px; top: 10px; bottom: 10px; width: 4px; background: #006af1; position: absolute;}
                            .block-statistic .nav-secondary > li > a.btn-view {position: absolute; top: 0; right: 0; bottom: 0; padding: 8px; width: 36px; text-align: center; opacity: 0; background: rgba(0,0,0,.05)}
                            .block-statistic .nav-secondary > li.active > a.btn-view {box-shadow: none}
                            .block-statistic .nav-secondary > li:hover > a.btn-view {opacity: 1}
                            .block-statistic .nav-secondary > li.switch-icon {display: none;}
                            .block-statistic.block-sm .panel-body {padding-bottom: 10px; position: relative; padding-top: 45px;}
                            .block-statistic.block-sm .panel-body > .table-row,
                            .block-statistic.block-sm .panel-body > .table-row > .col {display: block; width: auto;}
                            .block-statistic.block-sm .panel-body > .table-row > .tab-content {padding: 0; margin: 0 -5px;}
                            .block-statistic.block-sm .tab-pane > .table-row > .col-5 {width: 125px;}
                            .block-statistic.block-sm .tab-pane > .table-row > .col-5 > .table-row {padding: 5px 0;}
                            .block-statistic.block-sm .col-nav {border-left: none; position: absolute; top: 0; left: 15px; right: 15px; background: #f5f5f5; border-radius: 3px;}
                            .block-statistic.block-sm .nav-secondary {display: table; width: 100%; padding: 0; table-layout: fixed;}
                            .block-statistic.block-sm .nav-secondary > li {display: none}
                            .block-statistic.block-sm .nav-secondary > li.switch-icon,
                            .block-statistic.block-sm .nav-secondary > li.active {display: table-cell; width: 100%; text-align: center;}
                            .block-statistic.block-sm .nav-secondary > li.active > a:hover {cursor: default; background: none;}
                            .block-statistic.block-sm .nav-secondary > li.switch-icon > a:hover {background: rgba(0,0,0,0.07);}
                            .block-statistic.block-sm .nav-secondary > li > a {padding: 5px 10px; border-radius: 4px;}
                            .block-statistic.block-sm .nav-secondary > li > a:before {display: none;}
                            .block-statistic.block-sm .nav-secondary > li.switch-icon {width: 40px;}
                            .block-statistic.block-sm .types-line > li > div {padding: 18px 2px 5px;}
                            .block-statistic.block-sm .nav-secondary > li.active > a:first-child:before {display: none}
                            .block-statistic.block-sm .nav-secondary > li.active > a.btn-view {width: auto; left: 0; right: 0;}
                            .block-statistic.block-sm .nav-secondary > li.active > a.btn-view > i {display: none;}
                            .block-statistic.block-sm .nav-secondary > li.active > a.btn-view:hover {cursor: pointer; background: rgba(0,0,0,.1)}

                            .status-count{margin:auto}
                            .status-count tr:first-child td:last-child{color:#000;font-weight:bold}
                        </style>
                        <script>
                            $(function()
                            {
                                var $nav = $('#nav-60c80775ac907');
                                $nav.on('click', '.switch-icon', function(e)
                                {
                                    var isPrev = $(this).is('.prev');
                                    var $activeItem = $nav.children('.active');
                                    var $next = $activeItem[isPrev ? 'prev' : 'next']('li:not(.switch-icon)');
                                    if ($next.length) $next.find('a').trigger('click');
                                    else $nav.children('li:not(.switch-icon)')[isPrev ? 'last' : 'first']().find('a').trigger('click');
                                    e.preventDefault();

                                });

                                var $productLi = $('#activeProduct');
                                if($productLi.length)
                                {
                                    var productLi  = $productLi[0];
                                    $(".col ul.nav").animate({scrollTop: productLi.offsetTop}, "slow");
                                }
                            });
                        </script>
                        <div class="panel-body">
                            <div class="table-row">
                                <div class="table-empty-tip">
                                    <p><span class="text-muted">当前统计类型下暂无数据。</span></p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class='col-side'>
                    <div class='panel block-sm block-dynamic ' id='block2' data-id='2' data-name='最新动态' data-order='2' data-url='/zentao/block-printBlock-2-my.html'>
                        <div class='panel-heading'>
                            <div class='panel-title'>最新动态</div>
                            <nav class='panel-actions nav nav-default'>
                                <li><a href='/zentao/company-dynamic.html' title='更多'><i class="icon icon-more"></i></a>
                                </li>            <li class='dropdown'>
                                <a href='javascript:;' data-toggle='dropdown' class='panel-action'><i class='icon icon-ellipsis-v'></i></a>
                                <ul class='dropdown-menu pull-right'>
                                    <li><a href='javascript:;' class='refresh-panel'><i class='icon-repeat'></i> 刷新</a></li>
                                    <li><a data-toggle='modal' href="/zentao/block-admin-2-my.html" class='edit-block' data-title='最新动态' >编辑</a></li>
                                    <li><a href='javascript:deleteBlock(2);' class='hidden-panel'>隐藏</a></li>
                                    <li><a href='/zentao/block-close-2.html' class='close-block' onclick="return confirm('确定永久关闭该区块吗？关闭后所有人都将无法使用该区块，可以在后台自定义中打开。')" target='hiddenwin'>永久关闭</a>
                                    <li class="divider"></li>
                                    <li><a href='/zentao/block-admin-0-my.html' data-toggle='modal' data-type='ajax' data-width='700' data-title='添加区块'>添加区块</a>
                                    </li>
                                    <li><a href='/zentao/block-ajaxReset-my.html'  target='hiddenwin'>恢复默认</a>
                                    </li>
                                </ul>
                            </li>
                            </nav>
                        </div>
                        <style>
                            .block-dynamic .timeline > li .timeline-text {display: block; overflow: hidden; text-overflow: ellipsis; max-height: 20px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
                            .block-dynamic .panel-body {padding-top: 0;}
                        </style>
                        <div class='panel-body scrollbar-hover'>
                            <ul class="timeline timeline-tag-left no-margin">
                                <li ><div><span class='timeline-tag'>6月15日 09:02</span> <span class='timeline-text'>admin <em>登录系统</em>  <a href='/zentao/user-view-admin.html' title=''></a></span></div></li>  </ul>
                        </div>
                    </div>
                    <div class='panel block-sm block-list ' id='block4' data-id='4' data-name='我的待办' data-order='4' data-url='/zentao/block-printBlock-4-my.html'>
                        <div class='panel-heading'>
                            <div class='panel-title'>我的待办</div>
                            <nav class='panel-actions nav nav-default'>
                                <li><a href='/zentao/my-todo-all.html' title='更多'><i class="icon icon-more"></i></a>
                                </li>            <li class='dropdown'>
                                <a href='javascript:;' data-toggle='dropdown' class='panel-action'><i class='icon icon-ellipsis-v'></i></a>
                                <ul class='dropdown-menu pull-right'>
                                    <li><a href='javascript:;' class='refresh-panel'><i class='icon-repeat'></i> 刷新</a></li>
                                    <li><a data-toggle='modal' href="/zentao/block-admin-4-my.html" class='edit-block' data-title='我的待办' >编辑</a></li>
                                    <li><a href='javascript:deleteBlock(4);' class='hidden-panel'>隐藏</a></li>
                                    <li><a href='/zentao/block-close-4.html' class='close-block' onclick="return confirm('确定永久关闭该区块吗？关闭后所有人都将无法使用该区块，可以在后台自定义中打开。')" target='hiddenwin'>永久关闭</a>
                                    <li class="divider"></li>
                                    <li><a href='/zentao/block-admin-0-my.html' data-toggle='modal' data-type='ajax' data-width='700' data-title='添加区块'>添加区块</a>
                                    </li>
                                    <li><a href='/zentao/block-ajaxReset-my.html'  target='hiddenwin'>恢复默认</a>
                                    </li>
                                </ul>
                            </li>
                            </nav>
                        </div>
                        <style>
                            .block-todoes .panel-body {position: relative; padding-top: 42px; overflow: visible !important; padding-bottom: 0;}
                            .block-todoes .todoes-input {position: absolute; top: 0; right: 0; left: 0; padding: 0 20px 20px 20px;}
                            .block-todoes .todoes-input .form-control::-webkit-input-placeholder {font-size: 12px; line-height: 20px;color: #a4a8b6;}
                            .block-todoes .todoes-input .form-control::-moz-placeholder {font-size: 12px; line-height: 20px; color: #a4a8b6;}
                            .block-todoes .todoes-input .form-control:-ms-input-placeholder {font-size: 12px; line-height: 20px;color: #a4a8b6;}
                            .block-todoes .todoes-input .form-control::placeholder {font-size: 12px; line-height: 20px; color: #a4a8b6;}
                            .block-todoes .todoes {padding: 0 10px 10px 10px; margin: 0 -20px; max-height: 350px; overflow: auto; overflow-x:hidden}
                            .block-todoes .todoes > li {position: relative; padding: 5px 10px 5px 35px; list-style: none; white-space:nowrap; overflow: auto; overflow-x:hidden; width: 410px;}
                            .block-todoes .todoes > li:hover {background-color: #e9f2fb;}
                            .block-todoes .todo-title {padding: 5px 15px 5px 5px;}
                            .block-todoes .todo-pri {margin: 0 5px;}
                            .block-todoes .todo-time {display: inline-block; padding: 0 5px; font-size: 12px; color: #8e939a; width: 95px;}
                            .block-todoes .todo-check {position: absolute; top: 5px; left: 10px; display: block; width: 20px; height: 20px; font-size: 20px; color: transparent; cursor: pointer; background: #fff; border: 2px solid #eee; border-radius: 50%;}
                            .block-todoes .todo-check:hover {border-color: #8e939a;}
                            .block-todoes .active > .todo-check {color: #00da88; background: transparent;border: none;}
                            .block-todoes .todoes-form {position: absolute; top: -45px; right: 0; left: 0; z-index: 1011; max-width: 500px; padding: 12px 20px 20px; visibility: hidden; background: #fff; -webkit-box-shadow: 0 0 20px 0 #bdc9d8; box-shadow: 0 0 20px 0 #bdc9d8; opacity: 0;-webkit-transition: .4s cubic-bezier(.175, .885, .32, 1); -o-transition: .4s cubic-bezier(.175, .885, .32, 1); transition: .4s cubic-bezier(.175, .885, .32, 1); -webkit-transition-property: opacity, visibility; -o-transition-property: opacity, visibility; transition-property: opacity, visibility;}
                            .block-todoes .todoes-form .form-group > label {padding-left: 0;}
                            .block-todoes .todoes-form .form-group > label.text-center {text-align: center!important;}
                            .block-todoes .todoes-form > .form-group:last-child {margin-bottom: 0;}
                            .block-todoes .todoes-form > h3 {padding: 0 20px 15px; margin: 0 -20px 5px; font-size: 14px; line-height: 20px;}
                            .block-todoes.show-form .todoes-form {visibility: visible; opacity: 1;}
                        </style>
                        <div class='block-todoes'>
                            <div class='panel-body'>
                                <div class="todoes-input">
                                    <div class="todo-form-trigger"><input type="text" placeholder="点击添加待办" autocomplete="off" class="form-control"></div>
                                    <form class="form-horizontal todoes-form layer" method='post' target='hiddenwin' action='/zentao/todo-create-today--block.html'>
                                        <h3>添加待办</h3>
                                        <div class="form-group">
                                            <label for="todoName" class="col-sm-2">待办名称</label>
                                            <div class="col-sm-9 required"><input type="text" class="form-control" autocomplete="off" name="name"></div>
                                        </div>
                                        <div class="form-group">
                                            <label for="todoPri" class="col-sm-2">优先级</label>
                                            <div class="col-sm-4"><select name='pri' id='pri' class='form-control chosen'>
                                                <option value='0' title='' data-keys=' '></option>
                                                <option value='3' title='一般' data-keys='yiban yb'>一般</option>
                                                <option value='1' title='最高' data-keys='zuigao zg'>最高</option>
                                                <option value='2' title='较高' data-keys='jiaogao jg'>较高</option>
                                                <option value='4' title='最低' data-keys='zuidi zd'>最低</option>
                                            </select>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label for="todoDate" class="col-sm-2">日期</label>
                                            <div class="col-sm-9">
                                                <div class="input-control has-icon-right">
                                                    <input type="text" class="form-control date" id="todoDate" name="date" placeholder="" autocomplete='off'>
                                                    <label for='todoDate' class="input-control-icon-right"><i class="icon icon-delay"></i></label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label for="todoBegin" class="col-sm-2">起止时间</label>
                                            <div class="col-sm-4">
                                                <select name="begin" id="todoBegin" class="form-control">
                                                    <option value="">暂时不设定时间</option>
                                                </select>
                                            </div>
                                            <label class="col-sm-1 text-center hide-empty-begin" for="todoEnd"> ~ </label>
                                            <div class="col-sm-4 hide-empty-begin">
                                                <select name="end" id="todoEnd" class="form-control"></select>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-2"></div>
                                            <div class="col-sm-9">
                                                <div class="checkbox-primary">
                                                    <input type="checkbox" name="private" id="private" value="1">
                                                    <label for="private">私人事务</label>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-12 form-actions no-margin text-center">
                                                <input type='hidden' name='type' id='type' value='custom'  />
                                                <button type='button' class='btn btn-primary btn-wide' onclick='ajaxCreateTodo(this)'>保存</button>            <button type="button" class="btn btn-wide todo-form-trigger" data-trigger="false">返回</button>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                                <ul class="todoes">
                                </ul>
                            </div>
                            <script>
                                $(function()
                                {
                                    // Todoes block
                                    if(!$.fn.blockTodoes)
                                    {
                                        $.fn.blockTodoes = function()
                                        {
                                            $(this).closest('.col-main').css('max-width', ($('#subHeader .container').outerWidth() - $('.container .col-side').outerWidth() - 80) + 'px');
                                            return this.each(function()
                                            {
                                                var $block = $(this);
                                                if($block.data('blockTodoes')) return;
                                                $block.data('blockTodoes', 1);
                                                var $form = $block.find('form');
                                                var $titleInput = $form.find('[name="name"]');

                                                var toggleForm = function(toggle)
                                                {
                                                    if(toggle === undefined)
                                                    {
                                                        toggle = !$block.hasClass('show-form');
                                                    }
                                                    $block.toggleClass('show-form', toggle);
                                                    $block.find('.date').datepicker();
                                                    if(toggle)
                                                    {
                                                        setTimeout(function() {$titleInput.focus();}, 50);
                                                    }
                                                };
                                                $block.on('click', '.todo-form-trigger', function()
                                                {
                                                    toggleForm($(this).data('trigger'));
                                                });
                                                $form.timeSpanControl(
                                                    {
                                                        onChange: function($control)
                                                        {
                                                            $control.trigger('chosen:updated');
                                                        }
                                                    }).find('[name="begin"]').trigger('chosen:updated');
                                            });
                                        };
                                    }

                                    $('.block-todoes').blockTodoes().on('click', '.todo-check', function()
                                    {
                                        var $liTag     = $(this).closest('li');
                                        var isFinished = $liTag.hasClass('active');
                                        var todoID     = $liTag.data('id');
                                        var methodName = isFinished ? 'activate' : 'finish';
                                        $.get(createLink('todo', methodName, "todoID=" + todoID), function()
                                        {
                                            if(!isFinished) $liTag.addClass('active');
                                            if(isFinished) $liTag.removeClass('active');
                                        });
                                    });
                                });

                                function ajaxCreateTodo(obj)
                                {
                                    var $todoes = $(obj).closest('.block-todoes');
                                    var $form   = $(obj).closest('form');
                                    var $name   = $form.find("input[name='name']").val();
                                    if($name == '')
                                    {
                                        $("input[name='name']").addClass('has-error');
                                        $('#nameLabel').remove();
                                        $("input[name='name']").after('<div id="nameLabel" class="text-danger help-text">『待办名称』不能为空。</div>');
                                        setTimeout('clearError()', 2000)
                                        return false;
                                    }
                                    $.ajax(
                                        {
                                            type: "POST",
                                            dataType: "json",
                                            url: $form.attr('action'),
                                            data: $form.serialize(),
                                            success: function(todo)
                                            {
                                                $todoes.removeClass('show-form');
                                                $todoes.closest('.show-form').removeClass('show-form');
                                                $todoes.find('.show-form').removeClass('show-form');
                                                refreshBlock($todoes.parents('div.panel[id^=block]'));
                                            }
                                        });
                                }

                                function clearError()
                                {
                                    $("input[name='name']").removeClass('has-error');
                                    $('#nameLabel').remove();
                                }
                            </script>
                        </div>
                    </div>
                    <div class='panel block-sm block-overview ' id='block6' data-id='6' data-name='项目总览' data-order='6' data-url='/zentao/block-printBlock-6-my.html'>
                        <div class='panel-heading'>
                            <div class='panel-title'>项目总览</div>
                            <nav class='panel-actions nav nav-default'>
                                <li class='dropdown'>
                                    <a href='javascript:;' data-toggle='dropdown' class='panel-action'><i class='icon icon-ellipsis-v'></i></a>
                                    <ul class='dropdown-menu pull-right'>
                                        <li><a href='javascript:;' class='refresh-panel'><i class='icon-repeat'></i> 刷新</a></li>
                                        <li><a data-toggle='modal' href="/zentao/block-admin-6-my.html" class='edit-block' data-title='项目总览' >编辑</a></li>
                                        <li><a href='javascript:deleteBlock(6);' class='hidden-panel'>隐藏</a></li>
                                        <li><a href='/zentao/block-close-6.html' class='close-block' onclick="return confirm('确定永久关闭该区块吗？关闭后所有人都将无法使用该区块，可以在后台自定义中打开。')" target='hiddenwin'>永久关闭</a>
                                        <li class="divider"></li>
                                        <li><a href='/zentao/block-admin-0-my.html' data-toggle='modal' data-type='ajax' data-width='700' data-title='添加区块'>添加区块</a>
                                        </li>
                                        <li><a href='/zentao/block-ajaxReset-my.html'  target='hiddenwin'>恢复默认</a>
                                        </li>
                                    </ul>
                                </li>
                            </nav>
                        </div>
                        <style>
                            .block-overview .tile-amount {font-size: 48px; margin-bottom: 10px;}
                        </style>
                        <div class="panel-body table-row">
                            <div class="col-4 text-middle text-center">
                                <div class="tile">
                                    <div class="tile-title">所有项目</div>
                                    <div class="tile-amount">0</div>
                                    <a class="btn btn-primary btn-circle btn-icon-right btn-sm" href="/zentao/project-all-all.html">查看所有 <span class="label label-badge label-icon"><i class="icon icon-arrow-right"></i></span></a>
                                </div>
                            </div>
                            <div class="col-8 text-middle">
                                <ul class="status-bars">
                                    <li>
                                        <span class="bar" style="height: 0%"><span class="value">0</span></span>
                                        <span class="title">未开始</span>
                                    </li>
                                    <li>
                                        <span class="bar" style="height: 0%"><span class="value">0</span></span>
                                        <span class="title">进行中</span>
                                    </li>
                                    <li>
                                        <span class="bar" style="height: 0%"><span class="value">0</span></span>
                                        <span class="title">已挂起</span>
                                    </li>
                                    <li>
                                        <span class="bar" style="height: 0%"><span class="value">0</span></span>
                                        <span class="title">已关闭</span>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class='panel block-sm block-overview ' id='block8' data-id='8' data-name='产品总览' data-order='8' data-url='/zentao/block-printBlock-8-my.html'>
                        <div class='panel-heading'>
                            <div class='panel-title'>产品总览</div>
                            <nav class='panel-actions nav nav-default'>
                                <li class='dropdown'>
                                    <a href='javascript:;' data-toggle='dropdown' class='panel-action'><i class='icon icon-ellipsis-v'></i></a>
                                    <ul class='dropdown-menu pull-right'>
                                        <li><a href='javascript:;' class='refresh-panel'><i class='icon-repeat'></i> 刷新</a></li>
                                        <li><a data-toggle='modal' href="/zentao/block-admin-8-my.html" class='edit-block' data-title='产品总览' >编辑</a></li>
                                        <li><a href='javascript:deleteBlock(8);' class='hidden-panel'>隐藏</a></li>
                                        <li><a href='/zentao/block-close-8.html' class='close-block' onclick="return confirm('确定永久关闭该区块吗？关闭后所有人都将无法使用该区块，可以在后台自定义中打开。')" target='hiddenwin'>永久关闭</a>
                                        <li class="divider"></li>
                                        <li><a href='/zentao/block-admin-0-my.html' data-toggle='modal' data-type='ajax' data-width='700' data-title='添加区块'>添加区块</a>
                                        </li>
                                        <li><a href='/zentao/block-ajaxReset-my.html'  target='hiddenwin'>恢复默认</a>
                                        </li>
                                    </ul>
                                </li>
                            </nav>
                        </div>
                        <style>
                            .block-overview .status-list li + li {margin-top: 5px;}
                            .block-overview .status-list li > strong {font-size: 16px;}
                            .progress-pie {position: relative;}
                            .progress-pie .progress-info {position: absolute; width: 100%; height: 100%; left: 0; top: 0; text-align: center; padding-top: 25px;}
                            .progress-pie .progress-info > small {display: block; color: #A6AAB8; line-height: 14px;}
                            .progress-pie .progress-info > strong {display: block; font-size: 36px; line-height: 40px;}
                        </style>
                        <div class="panel-body table-row">
                            <div class="col-6 text-middle text-center">
                                <div class="progress-pie inline-block" data-value="0" data-doughnut-size="80">
                                    <canvas width="100" height="100" style="width: 100px; height: 100px;"></canvas>
                                    <div class="progress-info">
                                        <small>所有产品</small>
                                        <strong>0</strong>
                                    </div>
                                </div>
                            </div>
                            <div class="col-6 text-middle">
                                <ul class="list-unstyled status-list">
                                    <li><span class="status-product status-unclosed">正常</span> &nbsp; <strong>0</strong></li>
                                    <li><span class="status-product status-closed">结束</span> &nbsp; <strong>0</strong></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class='panel block-sm block-bug ' id='block9' data-id='9' data-name='指派给我的Bug' data-order='9' data-url='/zentao/block-printBlock-9-my.html'>
                        <div class='panel-heading'>
                            <div class='panel-title'>指派给我的Bug</div>
                            <nav class='panel-actions nav nav-default'>
                                <li><a href='/zentao/my-bug-assignedTo.html' title='更多'><i class="icon icon-more"></i></a>
                                </li>            <li class='dropdown'>
                                <a href='javascript:;' data-toggle='dropdown' class='panel-action'><i class='icon icon-ellipsis-v'></i></a>
                                <ul class='dropdown-menu pull-right'>
                                    <li><a href='javascript:;' class='refresh-panel'><i class='icon-repeat'></i> 刷新</a></li>
                                    <li><a data-toggle='modal' href="/zentao/block-admin-9-my.html" class='edit-block' data-title='指派给我的Bug' >编辑</a></li>
                                    <li><a href='javascript:deleteBlock(9);' class='hidden-panel'>隐藏</a></li>
                                    <li><a href='/zentao/block-close-9.html' class='close-block' onclick="return confirm('确定永久关闭该区块吗？关闭后所有人都将无法使用该区块，可以在后台自定义中打开。')" target='hiddenwin'>永久关闭</a>
                                    <li class="divider"></li>
                                    <li><a href='/zentao/block-admin-0-my.html' data-toggle='modal' data-type='ajax' data-width='700' data-title='添加区块'>添加区块</a>
                                    </li>
                                    <li><a href='/zentao/block-ajaxReset-my.html'  target='hiddenwin'>恢复默认</a>
                                    </li>
                                </ul>
                            </li>
                            </nav>
                        </div>
                        <div class='empty-tip'>暂无信息</div>
                    </div>
                </div>
            </div>
        </div>
        <script>
            config.ordersSaved = '排序已保存';
            config.confirmRemoveBlock = '确定隐藏区块吗？';
            var module   = 'my';
            var useGuest = false;
        </script>
        <script>/**
         * Delete block.
         *
         * @param  int    $index
         * @access public
         * @return void
         */
        function deleteBlock(index)
        {
            if(confirm(config.confirmRemoveBlock))
            {
                $.getJSON(createLink('block', 'delete', 'index=' + index + '&module=' + module), function(data)
                {
                    if(data.result != 'success')
                    {
                        alert(data.message);
                        return false;
                    }
                    else
                    {
                        window.location.reload(true);
                    }
                });
            }
        }

        /**
         * Sort blocks.
         *
         * @param  array $orders  format is {'blockid' : 1, 'block1' : 2}
         * @param  function $callback
         * @access public
         * @return void
         */
        function sortBlocks(newOrders, callback)
        {
            $.getJSON(createLink('block', 'sort', 'orders=' + newOrders.join(',') + '&module=' + module), callback);
        }

        /**
         * Resize block
         * @param  string $blockId
         * @param  function $callback
         * @access public
         * @return void
         */
        function resizeBlock(blockID, width, callback)
        {
            $.getJSON(createLink('block', 'resize', 'id=' + blockID + '&type=horizontal&data=' + width), function(data)
            {
                callback && callback();
                refreshBlock($('#block' + blockID));
            });
        }

        function refreshBlock($panel, afterRefresh)
        {
            var url = $panel.data('url');
            $panel.addClass('load-indicator loading');
            $.ajax({url: url, dataType: 'html'}).done(function(data)
            {
                var $data = $(data);
                if($data.hasClass('panel')) $panel.empty().append($data.children());
                else if($panel.find('#assigntomeBlock').length) $panel.find('#assigntomeBlock').empty().append($data.children());
                else
                {
                    $panel.children('.panel-move-handler,style,script').remove();
                    $panel.find('.panel-body,.empty-tip').first().replaceWith($data);
                    $panel.find('.iframe').initIframeModal();
                }
                $panel.find('.progress-pie').progressPie();
                if($.isFunction(afterRefresh))
                {
                    afterRefresh.call(this,
                        {
                            result: true,
                            data: data,
                            $panel: $panel
                        });
                }
                $panel.find('.tablesorter').sortTable();
                initTableHeader($panel);
                $(".sparkline").sparkline();
            }).fail(function()
            {
                $panel.addClass('panel-error');
                if($.isFunction(afterRefresh))
                {
                    afterRefresh.call(this,
                        {
                            result: false,
                            $panel: $panel
                        });
                }
            }).always(function()
            {
                $panel.removeClass('load-indicator loading');
            });
        }

        /**
         * Init table header
         * @access public
         * @return void
         */
        function initTableHeader($wrapper)
        {
            ($wrapper || $('#dashboard')).find('.panel-body > table.table-fixed-head').each(function()
            {
                var $table = $(this);
                var $tabPane = $table.closest('.tab-pane');
                if ($tabPane.length && !$tabPane.hasClass('active'))
                {
                    $('[data-tab][href="#' + $tabPane.attr('id') + '"]').one('shown.zui.tab', function()
                    {
                        initTableHeader($tabPane);
                    });
                    return;
                }

                var $panel = $tabPane.length ? $tabPane : $table.closest('.panel');

                if(!$table.length || !$table.children('thead').length || ($panel.find('#assigntomeBlock').length && $panel.find('#assigntomeBlock > div').length > 1)) return;
                var isFixed = $panel.find('.panel-body').height() < $table.outerHeight();

                $panel.toggleClass('with-fixed-header', isFixed);
                var $header = $panel.children('.table-header-fixed').toggle(isFixed);
                if(!isFixed)
                {
                    $table.find('thead').css('visibility', 'visible');
                    return;
                }
                var tableWidth = $table.width();
                var $oldTableHead = $table.find('thead');
                var updateTh = function()
                {
                    $header.find('thead').empty().append($oldTableHead.find('tr').clone());
                };
                if(!$header.length)
                {
                    $header = $('<div class="table-header-fixed" style="position: absolute; left: 10px; top: 0; right: 0; padding: 0 10px 0 0; background: #fff;"><table class="table table-fixed no-margin"></table></div>').css('right', $panel.width() - tableWidth - 20);
                    $oldTableHead.find('th').each(function(idx)
                    {
                        $(this).attr('data-idx', idx);
                    });
                    $header.find('.table').addClass($table.attr('class')).append($oldTableHead.css('visibility', 'hidden').clone().css('visibility', 'visible'));
                    $panel.addClass('with-fixed-header').append($header);
                    var $heading = $panel.children('.panel-heading');
                    if($heading.length) $header.css('top', $heading.outerHeight());
                    if($table.hasClass('tablesorter'))
                    {
                        $header.on('mousedown mouseup', 'th[data-idx]', function(e)
                        {
                            var $th = $(this);
                            $oldTableHead.find('th[data-idx="' + $th.data('idx') + '"]').trigger(e);
                            if(e.type === 'mouseup')
                            {
                                setTimeout(updateTh, 10);
                                setTimeout(updateTh, 200);
                            }
                        });
                    }
                }
                else
                {
                    updateTh();
                }

                var timeoutCall = null;
                $table.parent().off('scroll.initTableHeader').on('scroll.initTableHeader', function()
                {
                    clearTimeout(timeoutCall);
                    var $tableContainer = $(this);
                    timeoutCall = setTimeout(function() {
                        $panel.toggleClass('table-scrolled', $tableContainer.scrollTop() > 0);
                    }, 200);
                });
            });
        }

        /**
         * Check refresh progress
         * @param  object $dashboard
         * @access public
         * @return void
         */
        function checkRefreshProgress($dashboard, doneCallback)
        {
            if($dashboard.find('.panel-loading').length) setTimeout(function() {checkRefreshProgress($dashboard, doneCallback);}, 500);
            else doneCallback();
        }
        /**
         * Hidden block.
         *
         * @param  index $index
         * @access public
         * @return void
         */
        function hiddenBlock(index)
        {
            $.getJSON(createLink('block', 'delete', 'index=' + index + '&module=' + module + '&type=hidden'), function(data)
            {
                if(data.result != 'success')
                {
                    alert(data.message);
                    return false;
                }

                $('#dashboard #block' + index).addClass('hidden');
            })
        }

        $(function()
        {
            initTableHeader();
            $(window).on('resize', function()
            {
                initTableHeader();
            });

            // Init dashboard
            $('#dashboard').sortable(
                {
                    selector: '.panel',
                    trigger: '.panel-heading,.panel-move-handler',
                    containerSelector: '.col-main,.col-side',
                    start: function()
                    {
                        $('body').css('overflow', 'hidden');
                    },
                    finish: function(e)
                    {
                        $('body').css('overflow', 'auto');
                        var newOrders = [];
                        var isSideCol = e.element.parent().is('.col-side');
                        e.list.each(function(index, data)
                        {
                            newOrders.push(data.item.data('id'));
                        });
                        sortBlocks(newOrders, function()
                        {
                            resizeBlock(e.element.data('id'), isSideCol ? 4 : 8);
                        });

                        e.element.toggleClass('block-sm', isSideCol);
                    }
                }).on('click', '.refresh-panel', function()
            {
                refreshBlock($(this).closest('.panel'));
            });
        });

        </script>
    </div><script>
    $.initSidebar();
</script>

    <iframe frameborder='0' name='hiddenwin' id='hiddenwin' scrolling='no' class='debugwin hidden'></iframe>

</main><footer id='footer'>
    <div class="container">
        <ul class='breadcrumb'><li><a href='/zentao/my/' >禅道</a>
        </li><li><a href='/zentao/my/' ><span> 我的地盘</span></a>
        </li></ul>    <div id='poweredBy'>
        <small class='muted'><a href='https://api.zentao.net/goto.php?item=aiux' class='link-aiux' target='_blank'>Designed by <strong>艾体验</strong></a></small> &nbsp;
        <a href='https://www.zentao.net' target='_blank'><i class='icon-zentao'></i> 禅道12.5.3</a> &nbsp;
        <a href='https://api.zentao.net/goto.php?item=proversion&from=footer' target='_blank' id='proLink' class='text-important'>专业版 <i class='text-danger icon-pro-version'></i></a> &nbsp;           </div>
    </div>
</footer>
<div id="noticeBox"></div>
<script>
    /* Alert got messages. */
    needPing = false;
    $(function()
    {
        var windowBlur = false;
        if(window.Notification)
        {
            window.onblur  = function(){windowBlur = true;}
            window.onfocus = function(){windowBlur = false;}
        }
        setInterval(function()
        {
            $.get(createLink('message', 'ajaxGetMessage', "windowBlur=" + (windowBlur ? '1' : '0')), function(data)
            {
                if(!windowBlur)
                {
                    $('#noticeBox').append(data);
                    adjustNoticePosition();
                }
                else
                {
                    if(data)
                    {
                        if(typeof data == 'string') data = $.parseJSON(data);
                        if(typeof data.message == 'string') notifyMessage(data);
                    }
                }
            });
        }, 300000);
    })

</script>

<script>$(function()
{
    var scp  = $('[data-id="changePassword"] a');
    var sign = config.requestType == 'GET' ? '&' : '?';
    scp.attr('href', scp.attr('href') + sign + 'onlybody=yes').modalTrigger({width:500, type:'iframe'});
});
$(function()
{
    /* Set the heights of every block to keep them same height. */
    projectBoxHeight = $('#projectbox').height();
    productBoxHeight = $('#productbox').height();
    if(projectBoxHeight < 180) $('#projectbox').css('height', 180);
    if(productBoxHeight < 180) $('#productbox').css('height', 180);

    $('.panel-block').scroll(function()
    {
        var hasFixed  = $(this).find('.fixedHead').size() > 0;
        if(!hasFixed)
        {
            $(this).css('position', 'relative');
            var hasHeading = $(this).find('.panel-heading').size() > 0;
            var fixed = hasHeading ? $(this).find('.panel-heading').clone() : "<table class='fixedHead' style='position:absolute;top:0px;z-index:10'><thead>" + $(this).find('table thead').html() + '</thead></table>';
            $(this).prepend(fixed);
            if(hasHeading)
            {
                var firstHeading = $(this).find('.panel-heading:first');
                var lastHeading  = $(this).find('.panel-heading:last');
                firstHeading.addClass('fixedHead');
                firstHeading.css({'position':'absolute','top':'0px'});
                firstHeading.width(lastHeading.width());
                firstHeading.height(lastHeading.height());
            }
            else
            {
                var $fixTable = $(this).find('table.fixedHead');
                $fixTable.addClass($(this).find('table:last').attr('class'));
                var $dataTable = $(this).find('table:last thead th');
                $fixTable.find('thead th').each(function(i){$fixTable.find('thead th').eq(i).width($dataTable.eq(i).width());})
            }
        }
        $(this).find('.fixedHead').css('top',$(this).scrollTop());
    });
});

</script>
</body>
</html>
</title>
</head>
<body>

</body>
</html>